<?php


namespace app\api\model;

use app\api\controller\Code;
use think\Db;
use think\Model;

/**
 * 意见反馈信息
 * Class FeedbackModel
 * @package app\api\model
 *
 */
class FeedbackModel extends Model
{

    /**
     * 设置表名
     * @var string
     */
    protected $table = 'te_feedback';

    /**
     *
     * 查询个人用户信息
     */
    public static function feedbackAdd($params){

        $feedback = [

          'user_id'=>$params['user_id'],
          'content'=>$params['content'],
        ];

        return self::insert($feedback);
    }



}